//
//  XXJCollectionViewCell.m
//  gosh
//
//  Created by 许小军 on 16/9/24.
//  Copyright © 2016年 wyzc. All rights reserved.
//

#import "XXJCollectionViewCell.h"
#import "XXJCollectionModel.h"
#import <UIImageView+WebCache.h>
@interface XXJCollectionViewCell ()

@property (weak, nonatomic) IBOutlet UIImageView *headImageView;

@property (weak, nonatomic) IBOutlet UILabel *nameLable;

@end
@implementation XXJCollectionViewCell
-(void)setModel:(XXJCollectionModel *)model
{
    _model=model;
    _nameLable.text=model.name;
    [_headImageView sd_setImageWithURL:[NSURL URLWithString:model.icon]];
    
    
    
    
    
}
@end
